<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link href='/meirong/Public/Member/css/global.css' rel='stylesheet' type='text/css' />
<link href='/meirong/Public/Member/css/main.css' rel='stylesheet' type='text/css' />
<link href='/meirong/Public/Member/css/mall.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/meirong/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/meirong/Public/Member/js/global.js'></script>
<link href='/meirong/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<!--[if lte IE 9]><script src="__PUBIC__/Member/js/jquery.watermark-1.3.js"></script><![endif]-->
<script type='text/javascript' src='/meirong/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/meirong/Public/Member/js/operamasks-ui.min.js"></script>
<script type="text/javascript" src="/meirong/Public/Member/js/feed.js"></script>

<link href='/meirong/Public/Member/css/daterangepicker.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/meirong/Public/Member/js/moment.min.js'></script>
<script type='text/javascript' src='/meirong/Public/Member/js/daterangepicker.js'></script>
<script type='text/javascript'>
var web_domain='/meirong';
var static_domain='/meirong';
var img_domain='/meirong';
var _PUBLIC_ = '/meirong/Public';
var _FILE_ = '<?php echo U('Member/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>


<!-- 	<link href='/meirong/Public/Member/js/plugin/lean-modal/style.css' rel='stylesheet' type='text/css' />
	<script type='text/javascript' src='/meirong/Public/Member/js/plugin/lean-modal/lean-modal.min.js'></script> -->
	<link href='/meirong/Public/Member/css/index.css' rel='stylesheet' type='text/css' />
<!-- 	<script type='text/javascript'>
         var shop_skin_data= <?php echo ($userconfig); ?> ;
    </script> -->
	<script type='text/javascript'>$(document).ready(feed_obj.play_init);</script>

</head>

<body>
	
	
	<div id="iframe_page">
		<div class="iframe_content">
			<div class="r_nav">
				<ul>
					<!-- <li class="<?php if((ACTION_NAME) == "index"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/index');?>">首次关注设置</a></li>
					<li class="<?php if((ACTION_NAME) == "keyword"): ?>cur<?php endif; ?>"><a href="<?php echo U('Wechat/keyword');?>">关键词回复</a></li>
					 -->
					<li class="<?php if((ACTION_NAME) == "regional"): ?>cur<?php endif; ?>"><a href="<?php echo U('Regional/regional');?>">区域设置</a></li>
					<li class="<?php if((ACTION_NAME) == "play"): ?>cur<?php endif; ?>"><a href="<?php echo U('Play/play');?>">轮播图片</a></li>
					<li class="<?php if((ACTION_NAME) == "display"): ?>cur<?php endif; ?>"><a href="<?php echo U('Display/display');?>">首次下单设置</a></li>
				</ul>
			</div>

		
		

			


<div id="home" class="r_con_wrap">
<!--     <div class="m_lefter">
     
<div id="shop_skin_index">

    <?php echo ($template["leftconfigs"]); ?>
    
</div> 
</div> -->
    <div class="m_righter">
        <form id="home_form">
            <div id="setbanner">
                                <div class="item">
                    <div class="rows">
                        <div class="b_l">
                            <strong>图片(1)</strong><span class="tips">大图建议尺寸：<label></label>px</span><a href="#shop_home_img_del" value='0'><img src="/meirong/Public/Member/images/ico/del.gif" align="absmiddle" /></a><br />
                            <div class="blank6"></div>
                            <div><input name="FileUpload" id="HomeFileUpload_0" type="file" /></div>
                        </div>
                        <div class="b_r"><a href="<?php echo ($picture["0"]); ?>" target="_blank"><img src="<?php echo ($picture["0"]); ?>"></a></div>
                        <input type="hidden" name="ImgPathList[]" value="<?php echo ($picture["0"]); ?>" id="img1" />
                    </div>
                    <div class="blank9"></div>
                   <!--  <div class="rows url_select">
                        <div class="u_l">链接页面</div>
                        <div class="u_r">
                            <select name='UrlList[]'>
                                <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?> 
                            </select>
                        </div>
                    </div> -->
                    <div class="clear"></div>
                </div>
                                <div class="item">
                    <div class="rows">
                        <div class="b_l">
                            <strong>图片(2)</strong><span class="tips">大图建议尺寸：<label></label>px</span><a href="#shop_home_img_del" value='1'><img src="/meirong/Public/Member/images/ico/del.gif" align="absmiddle" /></a><br />
                            <div class="blank6"></div>
                            <div><input name="FileUpload" id="HomeFileUpload_1" type="file" /></div>
                        </div>
                        <div class="b_r"><a href="<?php echo ($picture["1"]); ?>" target="_blank"><img src="<?php echo ($picture["1"]); ?>"></a></div>
                        <input type="hidden" name="ImgPathList[]" value="<?php echo ($picture["1"]); ?>" id="img2"/>
                    </div>
                    <div class="blank9"></div>
         <!--            <div class="rows url_select">
                        <div class="u_l">链接页面</div>
                        <div class="u_r">
                            <select name='UrlList[]'>
                                <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
                            </select>
                        </div>
                    </div> -->
                    <div class="clear"></div>
                </div>
                                <div class="item">
                    <div class="rows">
                        <div class="b_l">
                            <strong>图片(3)</strong><span class="tips">大图建议尺寸：<label></label>px</span><a href="#shop_home_img_del" value='2'><img src="/meirong/Public/Member/images/ico/del.gif" align="absmiddle" /></a><br />
                            <div class="blank6"></div>
                            <div><input name="FileUpload" id="HomeFileUpload_2" type="file" /></div>
                        </div>
                        <div class="b_r"><a href="<?php echo ($picture["2"]); ?>" target="_blank"><img src="<?php echo ($picture["2"]); ?>"></a></div>
                        <input type="hidden" name="ImgPathList[]" value="<?php echo ($picture["2"]); ?>" id="img3"/>
                    </div>
                    <div class="blank9"></div>
            <!--         <div class="rows url_select">
                        <div class="u_l">链接页面</div>
                        <div class="u_r">
                            <select name='UrlList[]'>
                                <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
                            </select>
                        </div>
                    </div> -->
                    <div class="clear"></div>
                </div>
                                <div class="item">
                    <div class="rows">
                        <div class="b_l">
                            <strong>图片(4)</strong><span class="tips">大图建议尺寸：<label></label>px</span><a href="#shop_home_img_del" value='3'><img src="/meirong/Public/Member/images/ico/del.gif" align="absmiddle" /></a><br />
                            <div class="blank6"></div>
                            <div><input name="FileUpload" id="HomeFileUpload_3" type="file" /></div>
                        </div>
                        <div class="b_r"><a href="<?php echo ($picture["3"]); ?>" target="_blank"><img src="<?php echo ($picture["3"]); ?>"></a></div>
                        <input type="hidden" name="ImgPathList[]" value="<?php echo ($picture["3"]); ?>" id="img4"/>
                    </div>
                    <div class="blank9"></div>
         <!--            <div class="rows url_select">
                        <div class="u_l">链接页面</div>
                        <div class="u_r">
                            <select name='UrlList[]'>
                                <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
                            </select>
                        </div>
                    </div> -->
                    <div class="clear"></div>
                </div>
               
               <div class="item">
                    <div class="rows">
                        <div class="b_l">
                            <strong>图片(5)</strong><span class="tips">大图建议尺寸：<label></label>px</span><a href="#shop_home_img_del" value='4'><img src="/meirong/Public/Member/images/ico/del.gif" align="absmiddle" /></a><br />
                            <div class="blank6"></div>
                            <div><input name="FileUpload" id="HomeFileUpload_4" type="file" /></div>
                        </div>
                        <div class="b_r"><a href="<?php echo ($picture["4"]); ?>" target="_blank"><img src="<?php echo ($picture["4"]); ?>"></a></div>
                        <input type="hidden" name="ImgPathList[]" value="<?php echo ($picture["4"]); ?>" id="img5"/>
                    </div>
                    <div class="blank9"></div>
            <!--         <div class="rows url_select">
                        <div class="u_l">链接页面</div>
                        <div class="u_r">
                            <select name='UrlList[]'>
                                <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
                            </select>
                        </div>
                    </div> -->
                    <div class="clear"></div>
                </div>
                            </div>
<!--              <div id="setimages">
                <div class="item">
                    <div value="title">
                        <span class="fc_red">*</span> 标题<br />
                        <div class="input"><input name="Title" value="" type="text" /></div>
                        <div class="blank20"></div>
                    </div>
                    <div value="images">
                        <span class="fc_red">*</span> 图片<span class="tips">大图建议尺寸：<label></label>px</span><br />
                        <div class="blank6"></div>
                        <div><input name="FileUpload" id="HomeFileUpload" type="file" /></div>
                        <div class="blank20"></div>
                    </div>
                    <div class="url_select">
                        <span class="fc_red">*</span> 链接页面<br />
                        <div class="input">
                            <select name='Url'>
                                    <option value=''>--请选择--</option>
	<optgroup label='---------------系统模块---------------'></optgroup>
		<?php if(is_array($linkurl["modules"])): foreach($linkurl["modules"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------本地优惠---------------'></optgroup>
		<?php if(is_array($linkurl["coupon"])): foreach($linkurl["coupon"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>  
	<optgroup label='---------------城市历史---------------'></optgroup>
		<?php if(is_array($linkurl["history"])): foreach($linkurl["history"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
	<optgroup label='---------------萌宝大赛---------------'></optgroup>
	    <option value='<?php echo ($linkurl["baby"]["rule"]); ?>' >参赛规则</option>
	    <option value='<?php echo ($linkurl["baby"]["cheat"]); ?>' >参赛秘籍</option>
	    <option value='<?php echo ($linkurl["baby"]["join"]); ?>' >我要参赛</option>
	    <option value='<?php echo ($linkurl["baby"]["prize"]); ?>' >参赛奖品</option>
	<optgroup label='---------------自定义Url---------------'></optgroup>
		<?php if(is_array($linkurl["urls"])): foreach($linkurl["urls"] as $key=>$v): ?><option value='<?php echo ($v["url"]); ?>' ><?php echo ($v["title"]); ?></option><?php endforeach; endif; ?>
                            </select>
                        </div>
                    </div>
                    <input type="hidden" name="ImgPath" value="" />
                </div>
            </div>  -->
            <div class="button"><input type="submit" class="btn_green" name="submit_button" value="提交保存" /></div>
            <input type="hidden" name="do_action" value="<?php echo U('play');?>" />
            <input type="hidden" name="PId" value="" />
            <input type="hidden" name="SId" value="" />
            <input type="hidden" name="tid" value="2" />
            <input type="hidden" name="ContentsType" value="" />
            <input type="hidden" name="no" value="" />
            <input type="hidden" name="type" value="<?php echo ($type); ?>" />
        </form>
    </div>
    <div class="clear"></div>
</div>
 <div id="home_mod_tips" class="lean-modal pop_win">
 </div>   


			
			</div>
			</div>
</body>
</html>